﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// 提供控件ID属性，提供验证用户有效性方法
/// </summary>
public interface IInterFaceControl
{

    /// <summary>
    /// 用户控件的资源ID
    /// </summary>
    string ControlId
    {
        get;
    }

    string ControlName
    {
        get;
    }

    /// <summary>
    /// 验证用户有效性
    /// </summary>
    bool VerifyUser();
}
